package com.contory.ssn_lgnd.app.comp;

import com.contory.ssn_lgnd.framework.gl.TextureRegion;

public class ViewObject {
	public float x = 0, y = 0, w = 0, h = 0, r = 1.0f, g = 1.0f, b = 1.0f, a = 1.0f;
	public float rot = 0.0f;
	public TextureRegion tr = null;
	
	public ViewObject(){
	}
	
	public void setXY_WH_TR(float x, float y, float w, float h, TextureRegion tr){
		this.x = x; this.y = y; this.w = w; this.h = h; 
		this.tr = tr;
	}
	
	public void setXY(float x, float y){
		this.x = x; this.y = y;
	}
	
	public void setWH(float w, float h){
		this.w = w; this.h = h;
	}
	
	public void setRGBA(float r, float g, float b, float a){
		this.r = r; this.g = g; this.b = b; this.a = a;
	}
	
	public void setRot(float rot){
		this.rot = rot;
	}
}
